package CSDN;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 王圆豪
 * Date: 2025-04-27
 * Time: 14:13
 */
public class Test4 {
    public static void main(String[] args) {
        Thread thread = new Thread(){
            @Override
            public void run(){
//                System.out.println("Hello thread!");
            }
        };
        thread.start();
//        System.out.println(thread.getId());
        System.out.println(thread.getName());
    }
}
